package com.leeon.exception.exmaples;

public class Example3 {

    public static void main(String[] args) {
        String[] arr = new String[5];
        try {
            System.out.printf("arr[5] : " + arr[7]);
        }catch (ArrayIndexOutOfBoundsException e){
            e.printStackTrace(System.out);
        }
    }

}
